package com.xiangban.yanglaodajie_admin.dao;

import com.xiangban.yanglaodajie_admin.entity.Teacher;
import com.xiangban.yanglaodajie_admin.entity.TeacherShop;
import com.xiangban.yanglaodajie_admin.entity.dto.TeacherDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/7/8 17:40
 */
@Repository
public interface TeacherMapper {
    void deleteBindTeacher(TeacherShop teacherShop);
    void updateBindTeacherShop(TeacherShop teacherShop);
    TeacherShop selectBindTeacherShop(TeacherShop teacherShop);
    void insertTeacherShop(TeacherShop teacherShop);
    TeacherDto selectTeacherInfo(Teacher teacher);
    void deleteTeacher(TeacherDto teacherDto);
    List<TeacherDto>selectTeacherList(TeacherDto teacher);
    void updateTeacher(Teacher teacher);
    void saveTeacher(Teacher teacher);
    Teacher selectIsExit(Teacher teacher);

}
